package com.kotlin.base.di


import com.kotlin.base.utils.Network
import dagger.hilt.EntryPoint
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import kotlin.coroutines.CoroutineContext
import com.kotlin.base.err.Error

@EntryPoint
@InstallIn(SingletonComponent::class)
interface NetSource {


    fun getCoroutineContext(): CoroutineContext

    fun getError(): Error



    fun getNetwork(): Network
}